<template>
    <div class="w">
      <h3>事务处理</h3>
      <el-row :gutter="12">
        <el-col :span="8">
          <el-card shadow="always">
            <div class="wrap">
              <i class="el-icon-phone-outline outline"></i>
              <div class="fr">
                <h2>7</h2>
                <p>用户加盟合作</p>
              </div>
            </div>
          </el-card>
        </el-col>
        <el-col :span="8">
          <el-card shadow="always">
            <div class="wrap">
              <i class="el-icon-document document"></i>
              <div class="fr">
                <h2>10</h2>
                <p>待处理订单</p>
              </div>
            </div>
          </el-card>
        </el-col>
        <el-col :span="8">
          <el-card shadow="always">
            <div class="wrap">
              <i class="el-icon-edit edit"></i>
              <div class="fr">
                <h2>26</h2>
                <p>待完善商品信息</p>
              </div>
            </div>
          </el-card>
        </el-col>
      </el-row>
      <el-row :gutter="12">
        <el-col :span="8">
          <el-card shadow="always">
            <div class="wrap">
              <i class="el-icon-bell bell"></i>
              <div class="fr">
                <h2>12</h2>
                <p>通知消息推送</p>
              </div>
            </div>
          </el-card>
        </el-col>
      </el-row>
      <h3>今日总览</h3>
      <el-card shadow="always">
        <ul class="today">
          <li>
            <div class="top">
              <i class="el-icon-date" style="color: #67C23A; font-size: 18px;"></i>
              <span>销售服务报单</span>
            </div>
            <div class="center">
              <h2>10</h2>
            </div>
            <div class="bottom">
              <i class="el-icon-sort" style="font-size: 18px;"></i>
              <span>较昨日增长2单</span>
            </div>
          </li>
          <li>
            <div class="top">
              <i class="el-icon-star-on" style="color: #E6A23C; font-size: 18px;"></i>
              <span>昨日销售金额</span>
            </div>
            <div class="center">
              <h2>￥2000</h2>
            </div>
            <div class="bottom">
              <i class="el-icon-sort" style="font-size: 18px;"></i>
              <span>较昨日增长￥100</span>
            </div>
          </li>
        </ul>
      </el-card>
    </div>
</template>

<script>
export default {
  name: 'index'
}
</script>

<style scoped>
h3{
  margin: 10px 0 15px 10px;
  color: #606266;
}
li{
  list-style: none;
}
.el-row{
  margin-bottom: 20px;
}
  .wrap {
    overflow: hidden;
  }
  .wrap i{
    font-size: 57px;
    float: left;
  }
  .document{
    color: #E6A23C;
  }
  .outline{
    color: #409EFF;
  }
  .edit{
    color: #909399;
  }
  .bell{
    color: #F56C6C;
  }
  .fr{
    float: right;
    margin-right: 40px;
    color: #606266;
  }
  .today{
    overflow: hidden;
  }
  .today li{
    float: left;
    width: 200px;
    border-right: 1px solid #eee;
    padding: 0 30px;
    text-align: center;
  }
  .today span{
    margin-left: 20px;
    font-size: 12px;
    color: #606266;
  }
  .center{
    padding: 10px;
    text-align: center;
  }
</style>
